CFLAG = -I ../../build/release-install-cpp11/include
LFLAG = -L ../../build/release-install-cpp11/lib -lmuduo_net -lmuduo_base -lpthread -ljsoncpp

all: server client
server:test_server.cc
	g++ -o $@ $^ $(CFLAG) $(LFLAG) -std=c++11
client:test_client.cc
	g++ -o $@ $^ $(CFLAG) $(LFLAG) -std=c++11


.PHONY:clean
clean:
	rm server client